﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Diagnostics;
using System.Reflection;

namespace LegoBrickList.Forms
{
    public partial class AboutForm : Form
    {
        public AboutForm()
        {
            InitializeComponent();
        }

        private void AboutForm_Load(object sender, EventArgs e)
        {
            versionLabel.Text = FileVersionInfo.GetVersionInfo(Assembly.GetExecutingAssembly().Location).ProductVersion;
        }

        private void websiteLabel_Click(object sender, EventArgs e)
        {
            Process.Start(websiteLabel.Text); 
        }

        private void licenseLabel_Click(object sender, EventArgs e)
        {
            Process.Start("http://legobricklist.codeplex.com/license");
        }

    }
}
